Fix treatment of ld's nocombreloc option
authorGlenn Morris <rgm@gnu.org>
Mon, 9 Sep 2013 07:34:15 +0000 (00:34 -0700)
committerGlenn Morris <rgm@gnu.org>
Mon, 9 Sep 2013 07:34:15 +0000 (00:34 -0700)
commit37e4955f5ff09eeecb46dafc1541c5d0318f08fc
treeb696aaacfe8d6beaa3ddf028475f72ba98ec44e1
parentab575c88019f5a94aaf8c07f293701daa4cebbb4
Fix treatment of ld's nocombreloc option

* configure.ac (LDFLAGS_NOCOMBRELOC): New variable.
(LDFLAGS): Move nocombreloc option from here...
(LD_SWITCH_SYSTEM_TEMACS): ... to here.
This is an essential option that should not be in LDFLAGS,
because the user may override that at build time; eg
http://bugs.debian.org/684788.  temacs is the only thing
that actually needs this option; this is where it was orginally:
http://lists.gnu.org/archive/html/emacs-pretest-bug/2004-03/msg00170.html
ChangeLog
configure.ac